From 0d7d1ae8dc98462a9f0c877da8f4051dab0e5bfb Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 7 Oct 2009 17:38:23 +0200 Subject: [PATCH] Remove deprecated functions from GtkBox --- gtk/gtkbox.c | 44 -------------------------------------------- gtk/gtkbox.h | 7 ------- 2 files changed, 51 deletions(-) diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c index 4e69b44ca8..b9f5321c48 100644 --- a/gtk/gtkbox.c +++ b/gtk/gtkbox.c @@ -1330,50 +1330,6 @@ gtk_box_pack_end (GtkBox *box, gtk_box_pack (box, child, expand, fill, padding, GTK_PACK_END); } -/** - * gtk_box_pack_start_defaults: - * @box: a #GtkBox - * @widget: the #GtkWidget to be added to @box - * - * Adds @widget to @box, packed with reference to the start of @box. - * The child is packed after any other child packed with reference - * to the start of @box. - * - * Parameters for how to pack the child @widget, #GtkBox:expand, - * #GtkBox:fill and #GtkBox:padding, are given their default - * values, %TRUE, %TRUE, and 0, respectively. - * - * Deprecated: 2.14: Use gtk_box_pack_start() - */ -void -gtk_box_pack_start_defaults (GtkBox *box, - GtkWidget *child) -{ - gtk_box_pack_start (box, child, TRUE, TRUE, 0); -} - -/** - * gtk_box_pack_end_defaults: - * @box: a #GtkBox - * @widget: the #GtkWidget to be added to @box - * - * Adds @widget to @box, packed with reference to the end of @box. - * The child is packed after any other child packed with reference - * to the start of @box. - * - * Parameters for how to pack the child @widget, #GtkBox:expand, - * #GtkBox:fill and #GtkBox:padding, are given their default - * values, %TRUE, %TRUE, and 0, respectively. - * - * Deprecated: 2.14: Use gtk_box_pack_end() - */ -void -gtk_box_pack_end_defaults (GtkBox *box, - GtkWidget *child) -{ - gtk_box_pack_end (box, child, TRUE, TRUE, 0); -} - /** * gtk_box_set_homogeneous: * @box: a #GtkBox diff --git a/gtk/gtkbox.h b/gtk/gtkbox.h index 038c3b1c3a..03075db341 100644 --- a/gtk/gtkbox.h +++ b/gtk/gtkbox.h @@ -114,13 +114,6 @@ void gtk_box_pack_end (GtkBox *box, gboolean fill, guint padding); -#ifndef GTK_DISABLE_DEPRECATED -void gtk_box_pack_start_defaults (GtkBox *box, - GtkWidget *widget); -void gtk_box_pack_end_defaults (GtkBox *box, - GtkWidget *widget); -#endif - void gtk_box_set_homogeneous (GtkBox *box, gboolean homogeneous); gboolean gtk_box_get_homogeneous (GtkBox *box); -- 2.30.2